/*
 * Copyright (c) 2008, Xiong Yingfei, the University of Tokyo
 * All rights reserved.
 */
package ac.jp.u_tokyo.SyncLib.language3;

import ac.jp.u_tokyo.SyncLib.Sync;
import ac.jp.u_tokyo.SyncLib.SyncFactory;
import ac.jp.u_tokyo.SyncLib.dictionaries.DynamicGet;
import ac.jp.u_tokyo.SyncLib.dictionaries.InsertNewKeyDynamicGet;
import ac.jp.u_tokyo.SyncLib.dictionaries.KeyFactory;

public class FindByFactory implements SyncFactory
{
	String attrName;
	
	public void setattr(Object attrName)
	{
		this.attrName = (String) attrName;
	}

	public Sync create()
	{
		return new FindBy(attrName);
	}

}
